package cn.iocoder.yudao.module.fengdong.smartelderly.convert.activityrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.activityrecord.vo.*;
import cn.iocoder.yudao.module.fengdong.smartelderly.dal.dataobject.activityrecord.ActivityRecordDO;

/**
 * 活动参加记录 Convert
 *
 * @author 沣东养老院管理员
 */
@Mapper
public interface ActivityRecordConvert {

    ActivityRecordConvert INSTANCE = Mappers.getMapper(ActivityRecordConvert.class);

    ActivityRecordDO convert(ActivityRecordCreateReqVO bean);

    ActivityRecordDO convert(ActivityRecordUpdateReqVO bean);

    ActivityRecordRespVO convert(ActivityRecordDO bean);

    List<ActivityRecordRespVO> convertList(List<ActivityRecordDO> list);

    PageResult<ActivityRecordRespVO> convertPage(PageResult<ActivityRecordDO> page);

    List<ActivityRecordExcelVO> convertList02(List<ActivityRecordDO> list);

    PageResult<ActivityRecordUniteRespVO> convertUnitePage(IPage<ActivityRecordUniteRespVO> respVOIPagea);
}
